<template>
<div>
    <!-- 顶部 -->
    <heads >
      <i></i>
      <span>这些都是"断货王"···</span>
      <img class="StopOnes" src="../../assets/user/fenxiang.png" alt="图片">
    </heads>
        <!-- 商品图 -->
        <div class="c-c-Top">
            <img class="c-xlyz" src="../../assets/user/绚丽眼妆.png" alt="">
        </div>
       <!-- 商品 -->
       <div class="c-lipstick">
<div class="c-L-bor">
<div class="c-shop" v-for="(item,index) in shop" :key="index">
    <img class="c-Lipstick" :src="item.src" alt="">
    <div class="c-L-name">
    {{item.name}}
    </div>
    <div class="c-L-money">
    {{item.money}}
    </div>
    <div class="c-L-fg">
    </div>
    <div class="c-L-stock">
    {{item.stock}}
    </div>
    <div class="c-L-lick">
    {{item.click}}
    </div>
       </div>
</div>
    </div>
<div class="c-1bor"></div>
<div>
  <img class="c-xlyz1" src="../../assets/user/绚丽眼妆.png" alt="">
     </div>
     <!-- 商品 -->
     <div class="c-lipstick">
<div class="c-L-bor">
<div class="c-shop" v-for="(item,index) in shop" :key="index">
    <img class="c-Lipstick" :src="item.src" alt="">
    <div class="c-L-name">
    {{item.name}}
    </div>
    <div class="c-L-money">
    {{item.money}}
    </div>
    <div class="c-L-fg">
    </div>
    <div class="c-L-stock">
    {{item.stock}}
    </div>
    <div class="c-L-lick">
    {{item.click}}
    </div>
       </div>
</div>
    </div>
 <!-- 底部 -->
     <foots></foots>
  
</div>
</template>

<script>
import footer from '../../components/ma/footer';
import Head from '../users/Head.vue';
export default {
    name:'Duanhuowang',
    data() {
        return {
            shop:[
                {name:'不易脱妆口红',money:'¥59',stock:'还剩1000件',click:'马上去抢',src:require('../../assets/user/口红.png')},
                {name:'花蕊唇彩',money:'¥129',stock:'还剩1000件',click:'马上去抢',src:require('../../assets/user/chuncai.png')},
                {name:'娇吻玉口红',money:'¥88',stock:'还剩1000件',click:'马上去抢',src:require('../../assets/user/lipstick3.png')}
            ]
        }
    },
      components:{
      'foots':footer,
      'heads':Head

    },

}
</script>

<style scoped>
  .Stop {
    background-color: #e53e42;
    width: 100%;
    height: 9.6rem;
    color: #fff;
    font-size: 3.6rem;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    
  }
  .StopO {
    height:9.6rem;
    padding: 0 2rem;
    line-height: 9.6rem;
     text-align: center;
  }
  .StopOn{
      width: 2.2rem;
      height: 3.8rem;
      position: fixed;
    top: 3rem;
    left: 2.9rem;
  }
  .StopOnes{
      width:3.6rem ;
      height:3.5rem;
    position: fixed;
    top: 3rem;
    right: 2rem;
  }
/* 商品 */

    .c-xlyz{
        margin-top:6rem ;
        width: 100%;
        /* height: 30rem; */
        padding-top:9.6rem ;
        border-top:0.1rem #aeaeae solid ;
    }
    .c-xlyz1{
        width: 100%;
        height: 30rem;
        border-top:0.1rem #aeaeae solid;
    }
    .c-lipstick{
        height: 35.5rem;
        border-bottom: 0.1rem #ccc solid;
        width: 100%;
        /* border: 1px #f00 solid; */
    }
    .c-L-bor{
        margin-left:2rem ;
        padding-bottom:9.8rem ;
    }
    .c-1bor{
        height: 2rem;
        width: 100%;
        background-color: #f2f2f2;
        border: 0.1rem #c2c2c2 solid;
    }
    .c-shop{
    display: inline-block;
    height: 33.5rem;
    width: 22.6rem;
    text-align: center;
    /* border: 1px #f00 solid; */
    color: #000;
}
.c-Lipstick{
    display: inline-block;
    width: 7.5rem;
    height: 15.3rem;
}
.c-L-name{
    color: #000;
    font-size: 2.4rem;
    margin-top:1rem;
}
.c-L-money{
    font-size: 2.4rem;
         color: #e83d41;
         margin-top:1rem;
}
.c-L-fg{
    display: block;
     width: 18rem;
     height: 0;
     border-bottom: 0.1rem #ccc solid; 
    margin-top:0.5rem ;
     margin-left:2.3rem ;
     margin-bottom: 0.5rem;
}
.c-L-stock{
       font-size: 1.8rem;
        color: #4d4d4d;
        margin-bottom: 0.5rem;
}
.c-L-lick{
    font-size: 2rem;
        line-height: 3rem;
        color: #fff;
        width: 13.6rem;
        height: 3rem;
        margin-left:4.5rem ;
        background: #e53e42;
        border-radius: 1.5rem 1.5rem;
}
/* 底部 */
.w-footer{
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 9.6rem;
  border-top: 0.1rem #ccc solid;
  background-color: #fff;
}
.w-xfoot{
  border-top: 0.1rem solid #e6e6e6;
  height: 9.6rem;
}
.w-xfoot ul{
  display: flex;
  height: 9.6rem;
}
.w-xfoot ul li{
  flex: 1;
  font-size:2rem;
  color: #666;
  text-align: center;

}
.w-xfoot ul li.w-red{
  color: #e83d41;
}
.w-xfoot ul li{
  position: relative;
  overflow: hidden;
}
.w-xfoot ul li span{
  display: inline-block;
  width: 100%;
  margin-top:-0.8rem ;
  
}
.w-xfoot ul li i{
  margin-top: 1.2rem;
  display: inline-block;
  height: 5rem;
  width: 5rem;
}
.w-xfoot ul li:nth-child(1) i{
  background: url(../../assets/user/bottom1.png) no-repeat 0.1rem 0;
}
.w-xfoot ul li:nth-child(2) i{
  background: url(../../assets/user/bottom2.png) no-repeat -5.5rem 0;
}
.w-xfoot ul li:nth-child(3) em{
  margin-top: 1.5rem;
  display: inline-block;
  height: 5.5rem;
  width: 11.3rem;
  background: url(../../assets/user/bottom3.png) no-repeat 0 0;
}
.w-xfoot ul li:nth-child(4) i{
  margin-left: -0.8rem;
  background: url(../../assets/user/bottom4.png) no-repeat -5.4rem 0;
}
.w-xfoot ul li:nth-child(5) i{
  background: url(../../assets/user/bottom5.png) no-repeat -5.8rem 0;
}
/* 底部 */
</style>
